import Vue from 'vue'
import App from './App.vue'
import VueRouter from "vue-router"
import routes from "./routes-config.js"
import axios from "axios"

import iview from "iview"
import 'iview/dist/styles/iview.css'

import store from './store/index.js'
axios.defaults.baseURL = "http://127.0.0.1:8899"
Vue.use(VueRouter)
Vue.use(iview)

Vue.config.productionTip = false
Vue.prototype.$axios = axios

const router = new VueRouter({
  routes
})


new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
